package com.dnjn.happiness.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommunicateVO {

    private Long communicateId;

    private Long userId;

    private String avatar;

    private String nickName;

    private Date birthday;

    private Integer sex;

    private Integer happinessScore;

    private Integer hlbean;

    private Integer communicateCount;

    @Schema(description = "入职日期")
    @JsonFormat(pattern ="yyyy-MM-dd")
    private Date empDate;

    @Schema(description = "年龄 单位年")
    private Integer birthCountYear;

    private Integer empDateCountDay;
}
